import csv
import sqlite3
import sys

input_file = sys.argv[1]

con = sqlite3.connect('Suppliers.db')
c = con.cursor()

create_table = """create table if not exists suppliers(
supplier_name varchar(20),
invoice_number varchar(20),
Part_Number VARCHAR(20),
				Cost FLOAT,
				Purchase_Date DATE);
"""
c.execute(create_table)
con.commit()

file_reader=csv.reader(open(input_file,'r'), delimiter=',')
